/**
 * Copyright (C) 2025 ROKAE (Beijing) Technology Co., LTD.
 * All Rights Reserved.
 *
 * Information in this file is the intellectual property of Rokae Technology Co., Ltd,
 * And may contains trade secrets that must be stored and viewed confidentially.
 *
 * @file InspireRobotsPlugin.h
 * @brief 初始化 UI 界面
 */
#ifndef INSPIREROBOTSPLUGIN_H
#define INSPIREROBOTSPLUGIN_H

#include "InspireRobotsPlugin_global.h"
#include "plugincommon.h"
#include "interface/interfacemanager.h"

#include "InspireRobotsWidget.h"
#include "rl/rlmanager.h"
#include "rl/RLSetAngleWidget.h"
#include "rl/RLGetAngleWidget.h"
#include "rl/RLSetForceWidget.h"
#include "rl/RLSetSpeedWidget.h"

namespace xplugin
{
class INSPIREROBOTSPLUGIN_EXPORT InspireRobotsPlugin : public PluginBase
{
    Q_OBJECT
public:
    InspireRobotsPlugin(QObject* parent = nullptr);
protected:

    /**
     * @brief 初始化插件界面
     */
    void init() override;

    /**
     * @brief 注册RL指令
     */
    void afterInit() override;

private:
    InspireRobotsWidget* m_widget;
    xplugin::RLManager* m_rlManager;
};

}


#endif // INSPIREROBOTSPLUGIN_H
